
## REPLICATION

This folder contains the replication materials for 'Causal Beliefs and the Potential for Political Backlash Against AI' by Sophie Borwein, Beatrice Magistro, R. Michael Alvarez, Bart Bonikowski, and Peter Loewen.

Please cite the published article when using these files.

Analyses were carried out using R version 4.4.1 (2024-06-14) on a Mac OS 12.2 system. All packages used for each script are listed at the top of the corresponding files. 

## DATA

* lca_dat.csv: cleaned data used to produce all models and figures in the published article.


## CODEBOOK

* POQ_Borweinetal_Codebook.pdf: Codebook for all the variables in lca_dat.csv. 

## R SCRIPTS

* 1.POQ_Replication_Fig1.R and 1b.POQ_Replication_Fig2-5.R: scripts to replicate all models and figures in the published article. Make sure you install all the necessary packages before running the code. 


## DATA SOURCES:

This paper's survey data is original data. Twin surveys engaging approximately 3,000 participants from the US and an equal number from Canada, all recruited through the survey firm YouGov.
